Telegram Group & Telegram Channel
🐉 MCP сервер на PHP

https://github.com/pronskiy/mcp

Anthropic недавно анонсировали поддержку удаленных MCP серверов, и вообще экосистема растет как на дрожжах.

Но большинство серверов пишут на Python и TS/JS. Хоть для PHP есть неофициальный SDK: https://github.com/logiscape/mcp-sdk-php, интерфейс у него отвратительный.

Хочется просто и быстро поднимать MCP-серверы на PHP, а не разбираться в кишках протокола.

Поэтому я сделал свою обертку:
https://github.com/pronskiy/mcp

Вот так теперь выглядит простейший MCP сервер:

(new \Pronskiy\Mcp\Server('echo-server'))
->tool(
'echo',
'Echoes text',
fn(string $text) => $text
)
->run();


Форкайте, ставьте ⭐️, кидайте ваши MCP серверы!
🔥46👍28🤔1😢1



tg-me.com/phpdigest/333
Create:
Last Update:

🐉 MCP сервер на PHP

https://github.com/pronskiy/mcp

Anthropic недавно анонсировали поддержку удаленных MCP серверов, и вообще экосистема растет как на дрожжах.

Но большинство серверов пишут на Python и TS/JS. Хоть для PHP есть неофициальный SDK: https://github.com/logiscape/mcp-sdk-php, интерфейс у него отвратительный.

Хочется просто и быстро поднимать MCP-серверы на PHP, а не разбираться в кишках протокола.

Поэтому я сделал свою обертку:
https://github.com/pronskiy/mcp

Вот так теперь выглядит простейший MCP сервер:

(new \Pronskiy\Mcp\Server('echo-server'))
->tool(
'echo',
'Echoes text',
fn(string $text) => $text
)
->run();


Форкайте, ставьте ⭐️, кидайте ваши MCP серверы!

BY PHP Digest




Share with your friend now:
tg-me.com/phpdigest/333

View MORE
Open in Telegram


PHP Digest Telegram | DID YOU KNOW?

Date: |

What is Telegram Possible Future Strategies?

Cryptoassets enthusiasts use this application for their trade activities, and they may make donations for this cause.If somehow Telegram do run out of money to sustain themselves they will probably introduce some features that will not hinder the rudimentary principle of Telegram but provide users with enhanced and enriched experience. This could be similar to features where characters can be customized in a game which directly do not affect the in-game strategies but add to the experience.

Telegram has exploded as a hub for cybercriminals looking to buy, sell and share stolen data and hacking tools, new research shows, as the messaging app emerges as an alternative to the dark web.An investigation by cyber intelligence group Cyberint, together with the Financial Times, found a ballooning network of hackers sharing data leaks on the popular messaging platform, sometimes in channels with tens of thousands of subscribers, lured by its ease of use and light-touch moderation.PHP Digest from id


Telegram PHP Digest
FROM USA